package com.gupao.pattern.factory.simple;

/**
 * 手机抽象类
 */
public abstract class AbstractPhone {
    /**手机名**/
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    /**开机**/
    public abstract void start();
    /**关机**/
    public abstract void shutdown();
    /**打电话**/
    public abstract void call();
}
